package com.example.el;

import com.example.el.base.Expression;
import com.example.el.impl.DefaultExpressionManager;
import com.example.el.impl.NoExecutionVariableScope;
import com.google.common.primitives.Booleans;

import java.util.ResourceBundle;

/**
 * XXXXXXXXX
 *
 * @author brad zhang
 * @version 2.0
 * @date 2021/9/24 17:12
 */
public class MainClass {

    public static void main(String[] args) {
        DefaultExpressionManager defaultExpressionManager = new DefaultExpressionManager(null);
        Expression expression = defaultExpressionManager.createExpression("#{'new'.equals('new')}");
        Object value = expression.getValue(new NoExecutionVariableScope());
        System.out.println(value.toString());
    }
}
